package com.cfswt.tasksystem.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;


@Data
public class CfswtTask {
    private Integer id;
    private String sn;
    private Integer categoryId;
    private Integer parentId;
    private String title;
    private String releaseBy;
    private String reportBy;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    private String projectSn;
    private String frequency;
    private Integer reportCount;
    private Integer reportComplete;
    private List<ContentSummary> contentSummaries;//不映射表
    private List<TaskAttachment> attachment;//不映射表
    private Integer isDecompose;
    private List<TaskCompleteSummary> reportSummaries;//不映射表
    private List<TaskPlanSummary> planSummaries;//不映射表
    private List<TaskCoordinateSummary> taskCoordinateSummaries;//不映射表
    private Integer score;
    private List<TaskCommentSummary> taskCommentSummaries;//不映射表
    private String processInstanceId;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date actualFinishingTime;
    private Integer statusId;
    private List<TaskDelay> taskDelays;//不映射表
    private Integer decisionId;
    private Integer kpiDetailId;
}
